// 市场状况
const marketStatus = () => uni.$u.get('/data/market_status', );
//板块信息
const bksIndex = ()=>uni.$u.get('/data/bks_index');

const updatedAt = ()=>uni.$u.get('/data/updated_at');

const bksList = (param={page:1, type:0,order_f:0, order:'desc'})=>uni.$u.get('/data/bks_list', param);
// page=1, o='desc', ofilde=0
const indexList = (param= {o:'desc', of:0, page:1})=>uni.$u.get('/data/index_list', param);

const bkBondList = (param= {o:'desc', of:0, page:1, code:0})=>uni.$u.get('/data/bk_bond_list',param);

const bksItem = (code=0)=>uni.$u.get('/data/bks_item', {"code":code});

const tips = ()=>uni.$u.get('/data/tips');

const bondItem = (code=0)=>uni.$u.get('/data/bond_item', {"code":code});

export default {
	marketStatus,
	bksIndex,
	updatedAt,
	indexList,
	bksList,
	bksItem,
	bkBondList,
	tips,
	bondItem
}
